package com.maybach.core.dal.mapper;

import com.maybach.common.model.LogisticsCompanyDO;
import com.maybach.common.query.LogisticsCompanyQuery;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * MyBatis Mapper for LogisticsCompany.
 */
public interface LogisticsCompanyMapper {
    /**
     * query count by query condition.
     */
    int countByQuery(LogisticsCompanyQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(LogisticsCompanyQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(LogisticsCompanyDO record);

    /**
     * insert selective.
     */
    int insertSelective(LogisticsCompanyDO record);

    /**
     * select by query condition.
     */
    List<LogisticsCompanyDO> selectByQuery(LogisticsCompanyQuery query);

    /**
     * select by primary key.
     */
    LogisticsCompanyDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective(@Param("record") LogisticsCompanyDO record, @Param("query") LogisticsCompanyQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(@Param("record") LogisticsCompanyDO record, @Param("query") LogisticsCompanyQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(LogisticsCompanyDO record);
}